package com.zxy.supplier_system.server.repository

import com.zxy.supplier_system.server.entity.EmployeeRole
import com.zxy.supplier_system.server.entity.Role
import org.springframework.data.jpa.repository.JpaRepository

interface EmployeeRoleRepository:JpaRepository<EmployeeRole,EmployeeRole.UnionId> {

    fun countByRoleAndEmployee_SystemService_Id(role: Role, employee_systemService_id: String):Int

}